<?php
/**
 * Yaziki functions and definitions.
 *
 */

// This theme uses wp_nav_menu() in one location.
register_nav_menu( 'primary', __( 'Primary Menu', 'twentytwelve' ) );

// Adds RSS feed links to <head> for posts and comments.
add_theme_support( 'automatic-feed-links' );

add_theme_support( 'post-thumbnails' );

// Enque styles && scripts
function enq_styles() {

	$src = get_bloginfo('template_url');
	wp_register_style( 'mainstyle', $src . '/style.css' );
	wp_enqueue_style( 'mainstyle');
	wp_enqueue_script(
		'custom-script',
		get_template_directory_uri() . '/js/script.js',
		array( 'jquery' )
	);
	
}
add_action('wp_enqueue_scripts', 'enq_styles');

remove_action('wp_head', 'wp_generator');